import http from '@/utils/http'
import ajaxData from 'responseDataType'
export interface IUser {
  phone: number
  password: string
}

export interface UserInfo {
  avatar: string
  realname: string
  token: string
  username: string
  desc: string
}

// 接口请求
// export const goLogin = (data: IUser) => http<ajaxData.IData<UserInfo>>({
//   url: 'xxx',
//   method: 'post',
//   data
// })
